ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MenuBase<T> Class / AutoSelectOnFocus Property






In This Topic
    AutoSelectOnFocus Property (MenuBase<T>)
    In This Topic
    Gets or sets a value that determines whether the first enabled item is automatically focused/selected in the menu.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(False)>
    Public Property AutoSelectOnFocus As System.Boolean
    'Usage
     
    
    Dim instance As MenuBase(Of T)
    Dim value As System.Boolean
     
    instance.AutoSelectOnFocus = value
     
    value = instance.AutoSelectOnFocus
    [System.ComponentModel.DefaultValue(false)]
    public System.bool AutoSelectOnFocus {get; set;}
    public read-write property AutoSelectOnFocus: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set AutoSelectOnFocus : System.boolean
    [System.ComponentModel.DefaultValue(false)]
    public: __property System.bool get_AutoSelectOnFocus();
    public: __property void set_AutoSelectOnFocus( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(false)]
    public:
    property System.bool AutoSelectOnFocus {
       System.bool get();
       void set (    System.bool value);
    }
    See Also